<?php
App::uses('AppController', 'Controller');


App::uses('Xml', 'Utility');
class TablesController extends AppController {
	public $name = 'Tables';
	public $uses = array('Tables','TableType');
	
	function index(){
		$tables = $this->Tables->find('all');
		//var_dump($tables);
		$this->set('tables',$tables);
		$this->set('page_title',"Mesa de Apuestas");
		
	}
	function table_types(){
		$tablestypes = $this->TableType->find('all');
		//var_dump($tablestypes[0]);
		$this->set('tablestypes',$tablestypes);
		$this->set('page_title',"Tipo de Mesa de Apuestas");
	}

	function add(){
		$events =
	}
}
